Skip to content

feat(FR-2559): add Teams notification, Jira integration, and result parsing to e2e-watchdog#6666

Draft
nowgnuesLee wants to merge 2 commits intomainfrom
04-14-feat_fr-2559_add_teams_notification_jira_integration_and_result_parsing_to_e2e-watchdog
Draft

feat(FR-2559): add Teams notification, Jira integration, and result parsing to e2e-watchdog#6666
nowgnuesLee wants to merge 2 commits intomainfrom
04-14-feat_fr-2559_add_teams_notification_jira_integration_and_result_parsing_to_e2e-watchdog

Conversation

@nowgnuesLee
Copy link
Copy Markdown
Contributor

@nowgnuesLee nowgnuesLee commented Apr 14, 2026

Resolves #6659(FR-2559)

Summary

Enhance the e2e-watchdog agentic workflow with structured result parsing, Teams notifications, Jira integration, and configurable triggers.

Changes

  • Structured result parsing (FR-2561): Parse Playwright JSON report into GitHub Actions outputs (total/passed/failed/skipped/failed_tests)
  • Teams webhook notification (FR-2560): Send Adaptive Card with test summary to Microsoft Teams channel after each run
  • Jira issue management (FR-2563): Auto-create Jira issue on failure, auto-resolve when tests pass
  • Configurable triggers (FR-2564): Add workflow_dispatch inputs for test_filter and notify_teams
  • Documentation (FR-2565): Inline docs for all required GitHub Secrets and Variables, Teams webhook setup

Architecture

All notification steps (Teams, Jira) are implemented as standard GHA steps: (not agent instructions) because the agentic network: allowlist restricts outbound HTTP from the Copilot agent. Steps run before the agent and have unrestricted network access.

Post-merge action required

.lock.yml must be recompiled after merge:

gh aw compile e2e-watchdog --strict

Test plan

  • Manual dispatch with default settings — verify Teams notification arrives
  • Manual dispatch with test_filter: @smoke — verify only smoke tests run
  • Manual dispatch with notify_teams: false — verify Teams notification is skipped
  • Verify Jira issue creation on failure (requires ATLASSIAN_* secrets)
  • Verify Jira issue auto-resolve when tests pass after a failure
  • Verify graceful degradation when TEAMS_WEBHOOK_URL or ATLASSIAN_* secrets are not configured

🤖 Generated with Claude Code

…arsing to e2e-watchdog

Enhance the e2e-watchdog agentic workflow with:
- Structured Playwright JSON result parsing step (FR-2561)
- Microsoft Teams webhook notification via Adaptive Card (FR-2560)
- Jira issue auto-creation/update on failure with auto-resolve on pass (FR-2563)
- workflow_dispatch inputs for test_filter and notify_teams (FR-2564)
- Inline documentation for required secrets and variables (FR-2565)

All notification steps are implemented as standard GHA steps (not agent
instructions) to avoid agentic network allowlist restrictions.

Note: .lock.yml recompilation required via `gh aw compile` after merge.

Resolves FR-2560, FR-2561, FR-2563, FR-2564, FR-2565
@github-actions github-actions Bot added the size:L 100~500 LoC label Apr 14, 2026
Copy link
Copy Markdown
Contributor Author

nowgnuesLee commented Apr 14, 2026


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • flow:merge-queue - adds this PR to the back of the merge queue
  • flow:hotfix - for urgent changes, fast-track this PR to the front of the merge queue

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

…w v0.68.1

- Fix template injection vulnerabilities: move ${{ }} expressions
  to env: vars in Run E2E tests, Parse results, Send Teams notification,
  Create/Resolve Jira issue steps
- Fix YAML parsing error: replace multi-line DESC heredoc with printf
- Move password secrets from global env: to step-level env: on test step
- Add strict: false frontmatter to allow secrets in pre-agent steps
- Compile e2e-watchdog.lock.yml with gh-aw v0.68.1

Resolves compilation blocker for FR-2559 stack
@github-actions github-actions Bot added size:XL 500~ LoC and removed size:L 100~500 LoC labels Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL 500~ LoC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GitHub Actions Workflow: Run E2E Tests on Remote Server and Report Results

1 participant